package com.itheima.chapter10.thread.demo8;

import sun.util.resources.cldr.lag.CalendarData_lag_TZ;

import java.util.concurrent.Callable;

public class MyCallable implements Callable<String > {
    @Override
    public String call() throws Exception {
        for (int i = 0; i < 100; i++) {
            System.out.println(Thread.currentThread().getName()+"--->"+i);
        }
        return "线程执行完毕";
    }
}
